//
//  YSDemoItem.m
//  YSKitDemo
//
//  Created by MOLBASE on 2018/8/9.
//  Copyright © 2018年 YangShen. All rights reserved.
//

#import "YSDemoItem.h"

@implementation YSDemoItem

+ (instancetype)itemWithTitle:(NSString *)title subtitle:(NSString *)subtitle aClass:(Class)aClass {
    YSDemoItem *item = [[self class] new];
    item.title       = title;
    item.subtitle    = subtitle;
    item.aClass      = aClass;
    return item;
}

+ (instancetype)itemWithTitle:(NSString *)title aClass:(Class)aClass {
    return [self itemWithTitle:title subtitle:nil aClass:aClass];
}

@end
